home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / ace_basic / ace24.lha / SUBmods / FontReq / test.b < prev   
Encoding:
Text File  |  1996-09-12  |  304 b   |  12 lines

  1. #include <SUBmods/FontReq.h>
  2.  
  3. DECLARE STRUCT FontInfo info
  4.  
  5. IF FontInfoRequest(info) THEN
  6.   PRINT "Font name:   ";CSTR(info->fontName)
  7.   PRINT "Font height: ";info->fontHeight
  8.   PRINT "Text style:  ";info->textStyle
  9.   PRINT "Font color:  ";info->frontColor
  10.   PRINT "Back color:  ";info->backColor
  11. END IF
  12.